home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 037a / exec33.zip / ENGLISH.BAT < prev    next >
DOS Batch File  |  1991-08-20  |  1KB  |  45 lines

  1. echo off
  2. if %1. == . goto help
  3. if exist %1con goto goon
  4. echo *** Destination path not found!
  5. goto help
  6. :goon
  7. echo getlang e c  from exec.c        to %1exec.c
  8. getlang e c <exec.c >%1exec.c
  9. if errorlevel 1 goto err
  10. echo getlang e p  from exec.pas      to %1exec.pas
  11. getlang e p <exec.pas >%1exec.pas
  12. if errorlevel 1 goto err
  13. echo getlang e c  from exec.h        to %1exec.h
  14. getlang e c <exec.h >%1exec.h
  15. if errorlevel 1 goto err
  16. echo getlang e a  from checkpat.asm  to %1checkpat.asm
  17. getlang e a <checkpat.asm >%1checkpat.asm
  18. if errorlevel 1 goto err
  19. echo getlang e c  from checkpat.h    to %1checkpat.h
  20. getlang e c <checkpat.h >%1checkpat.h
  21. if errorlevel 1 goto err
  22. echo getlang e p  from checkpat.pas  to %1checkpat.pas
  23. getlang e p <checkpat.pas >%1checkpat.pas
  24. if errorlevel 1 goto err
  25. echo getlang e c  from extest.c      to %1extest.c
  26. getlang e c <extest.c >%1extest.c
  27. if errorlevel 1 goto err
  28. echo getlang e p  from extest.pas    to %1extest.pas
  29. getlang e p <extest.pas >%1extest.pas
  30. if errorlevel 1 goto err
  31. echo getlang e a  from spawn.asm     to %1spawn.asm
  32. getlang e a <spawn.asm >%1spawn.asm
  33. if errorlevel 1 goto err
  34. echo getlang e c  from compat.h      to %1compat.h
  35. getlang e c <compat.h >%1compat.h
  36. if errorlevel 1 goto err
  37. goto exit
  38. :err
  39. echo *** Error!
  40. :help
  41. echo Usage: English destination-path
  42. echo  copies the english version of all sources to the destination path.
  43. echo  Example: english d:\eng\
  44. :exit
  45.